.nav{
    background: #548ce8;
    overflow: hidden;
}

.nav a{
    float:left;
    display: block;
    color:#fff;
    text-align: center;
    padding: 15px 17px;
    text-decoration:none;
    font-size: 15px;
    width: 120px;
    text-transform: uppercase;
    font-weight: bold;
}

.nav a:hover{
    background: orangered;
    color: #000;
}

.nav a.active{
    background: #2f3540;
}

.search_container{
    float:right;
}

#key{
    padding: 6px;
    margin-top: 11.5px;
    border: none;
    font-size: 15px;
}

.search_container button{
    float: right;
    padding: 0;
    width: 30px;
    height: 28px;
    margin-top: 11px;
    margin-right: 30px;
    margin-left: 5px;
    margin-bottom: 2px;;
    color: #fff;
    border: none;
}

.search_container img{
    width: 30px;
    height: 28.4px;
}

.body1{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    background-color: #5d4d4d;
    font-family: 'Poppins',sans-serif;
}

.container{
    padding-top: 100px;
    width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.box{
    position: relative;
    width: 300px;
    height: 400px;
    background: #000;
    box-shadow: 0 0 20px royalblue;
}

.box .imgbx{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
}

.box .imgbx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    object-fit: cover;
    transition: 0.5s;
}

.box:hover .imgbx img{
    opacity: 0;
}

.box .content{
    position: absolute;
    bottom: 20px;
    left: 10%;
    width: 80%;
    height: 60px;
    background: #fff;
    transition: 0.5s;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
}
.box:hover .content{
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
}
.box .content h3{
    margin: 0;
    padding: 0;
    font-size: 20px;
}
.box .content p{
    margin: 10px 0 0;
    padding: 0;
    opacity: 0;
    line-height: 1.2em;
    transition: 0.5s;
    text-align: justify;
}
.box:hover .content p{
    opacity: 1;
    transition-delay: 0.4s;
}











